package top.continew.admin.req.wecom;

import cn.shengchao.examstar.rpc.wecom.req.EmployeeUserDto;
import lombok.Data;

import java.io.Serializable;
import java.util.List;

/**
 * @program: examstar-manger-api
 * @description: 成员管理
 * @author: Xiong weiqiang
 * @create: 2025-04-09 13:40
 */
@Data
public class EmployeeUserRto implements Serializable {
    /**
     * 系统用户名
     */
    private Long sysUserId;
    /**
     * 系统用户手机
     */
    private String phone;
    /**
     * 系统用户昵称
     */
    private String nickname;
    /**
     * 系统用户名
     */
    private String username;
    /**
     * 企微号
     */
    private List<String> weComUserIds;

    public EmployeeUserDto toDto() {
        EmployeeUserDto dto = new EmployeeUserDto();
        dto.setSysUserId(this.sysUserId);
        dto.setPhone(this.phone);
        dto.setNickname(this.nickname);
        dto.setUsername(this.username);
        dto.setWeComUserIds(this.weComUserIds);
        return dto;
    }
}